package com.intelligentcar.springboot.service;


import com.intelligentcar.springboot.bean.Advertisement;
import com.intelligentcar.springboot.bean.News;
import com.intelligentcar.springboot.bean.Partner;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface PartnerService {

    //    条件查询
    List<Partner> LookL(Partner partner);

    List<Partner> LookT(@Param(value = "addTime")String addTime);


    //展示所有通新闻知
    List<Partner> Lookpartner();

    //查询总条数
    int selectpartner();

    //修改供应商信息
    int updatepartner(Partner partner);

    //删除供应商
    int deletepartner(long id);

    //新增供应商
    int addpartner(Partner partner);

//    //    LookKK addADD
//    List<Partner>  LookKK(Partner partner);
//
//    int addADD(int id);

    //展示所有广告商
    List<Advertisement> LookAdvertisement();
}
